/**
 * Copyright (c) 2013-Now http://jeesite.com All rights reserved.
 */
package com.jeesite.modules.storage.entity;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import com.jeesite.common.mybatis.mapper.query.QueryType;

/**
 * 银行卡Entity
 */
@Table(name="biz_bank", alias="a", columns={
		@Column(name="id", attrName="id", label="唯一标识", isPK=true),
		@Column(name="member_id", attrName="memberId", label="会员Id"),
		@Column(name="logo", attrName="logo", label="LOGO"),
		@Column(name="name", attrName="name", label="名称", queryType=QueryType.LIKE),
		@Column(name="type", attrName="type", label="类型【储蓄卡或信用卡】"),
		@Column(name="contact", attrName="contact", label="联系人"),
		@Column(name="number", attrName="number", label="卡号"),
		@Column(name="phone", attrName="phone", label="联系号码"),
		@Column(name="create_by", attrName="createBy", label="创建者", isQuery=false),
		@Column(name="create_date", attrName="createDate", label="创建时间", isQuery=false),
		@Column(name="update_by", attrName="updateBy", label="更新者", isQuery=false),
		@Column(name="update_date", attrName="updateDate", label="更新时间", isQuery=false)
	}, orderBy="a.update_date DESC"
)
public class Bank extends DataEntity<Bank> {

	private static final long serialVersionUID = 1L;

	private String memberId;		// 会员Id
	private String logo;		// logo
	private String name;		// 名称
	private String type;		// 类型【储蓄卡或信用卡】
	private String contact;		// 联系人
	private String number;		// 卡号
	private String phone;		// 联系号码

	public Bank() {
		this(null);
	}

	public Bank(String id){
		super(id);
	}

	public String getMemberId() {
		return memberId;
	}

	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}

	public String getLogo() {
		return logo;
	}

	public void setLogo(String logo) {
		this.logo = logo;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
}